﻿Imports DAO
Imports DTO
Public Class LoaiPhongBus
    Public Shared Function LayDonGia(ByVal maloaiphong As Integer) As Long
        Return LoaiPhongDAO.LayDonGia(maloaiphong)
    End Function
    Public Shared Function LayDanhSach() As List(Of LoaiPhong)
        Return LoaiPhongDAO.LayDanhSach()
    End Function
    Public Shared Function LayTenLoaiPhong(ByVal maloaiphong As Integer) As String
        Return LoaiPhongDAO.LayTenLoaiPhong(maloaiphong)
    End Function
    Public Shared Function DoanhThuTheoMa(ByVal maloaiphong As Integer, ByVal ngay As Date) As Long
        Return LoaiPhongDAO.DoanhThuTheoMa(maloaiphong, ngay)
    End Function
    Public Shared Function DoanhThu(ByVal ngay As Date) As Long
        Return LoaiPhongDAO.DoanhThu(ngay)
    End Function
End Class
